<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <script src="/scripts/jquery.min.js"></script>
    <script src="/scripts/semantic.min.js"></script>
    <link rel="stylesheet" href="/styles/semantic.min.css">
    <title>登录</title>
    <style>
        #errmsg{
            color: red;
        }
    </style>
</head>
<body>
    <div class="ui top attached inverted nav menu">
        <a href="" class="item">Index</a><a href="" class="item">Campus</a><a href=""class="item">Music</a><a href=""></a>
        <a href="" class="floated right item">Login</a>
    </div>
        <div class="ui grid container">
            <div class="eight wides centered column">
                <div class="ui inverted teal segment">
                <form action="/doLogin" method="post" class="ui fluid form">
                    <div class="field">
                    <label>用户名:</label>
                    <input type="text" name="user" placeholder="请输入用户名" autocomplete="off">
                    </div>
                    <div class="field">
                    <label>密码:</label>
                    <input type="password" name="password" placeholder="请输入密码"><br>
                    </div>
                    <div id="errmsg">${errmsg!""}</div>
                    <a class="ui primary fluid submit button" type="submit">登录</a>
                    <a class="ui primary fluid  reset button" type="reset">重置</a>
                    <input type="submit" value="登录">
                    <input type="reset" value="重置">
                </form>
                </div>
            </div>
        </div>
</body>
</html>